package com.mnsq.subject.controller;

import com.mnsq.common.bean.annotation.UserInfoRequired;
import com.mnsq.subject.bean.condition.SubjectCondition;
import matrix.module.common.bean.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 周俭
 */
@RestController
@RequestMapping("/api/work")
public class WorkController {

    /**
     * TODO 推荐工作信息
     * TODO 简单算法实现
     *
     * @return
     */
    @UserInfoRequired
    @PostMapping("/suggest/list")
    public Result suggestWork() {
        return null;
    }

    /**
     * TODO 投递信息
     *
     * @param subjectCondition
     * @return
     */
    @PostMapping("/send/resume")
    @UserInfoRequired(required = true)
    public Result sendResume(@RequestBody SubjectCondition subjectCondition) {
        return null;
    }

    /**
     * TODO 已投递信息，分页查询
     *
     * @return
     */
    @PostMapping("/send/list")
    @UserInfoRequired(required = true)
    public Result sendList() {
        return null;
    }
}
